package com.hoshiicloud.user.entity.organization;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 平台机构附件
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("plat_organization_attachment")
public class PlatOrganizationAttachment implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 机构ID
     */
    @TableField("vendor_id")
    private Long vendorId;


    /**
     * 附件名称
     */
    @TableField("attach_name")
    private String attachName;


    /**
     * 附件地址
     */
    @TableField("attach_url")
    private String attachUrl;


    @ApiModelProperty(value = "有效期", required = true)
    private String expirationDate;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private LocalDateTime createdTime;


    /**
     * 创建人
     */
    @TableField("created_by")
    private String createdBy;


    /**
     * 修改时间
     */
    @TableField("modified_time")
    private LocalDateTime modifiedTime;


    /**
     * 修改人
     */
    @TableField("modified_by")
    private String modifiedBy;


}
